package com.campus.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(description = "班级修改模型")
public class ManagerClassUpdateDto {

    @ApiModelProperty("班级id")
    @NotNull(message = "班级id不能为空")
    private Long id;
    @ApiModelProperty(value = "班级名称")
    private String name;
    @ApiModelProperty(value = "班级描述")
    private String classDesc;
    @ApiModelProperty(value = "当前班级教师id")
    private Long teacherId;
    @ApiModelProperty(value = "班级活动id")
    private Long activityId;

}
